#ifndef dynamic_h
#define dynamic_h

// export interface.
#ifdef __cplusplus
extern "C" {
#endif

#ifdef dynamic
#define MYAPI
#else
#define MYAPI __declspec(dllimport)
#endif

	// ref macro 'WINAPI'.
#include <Windows.h>
	MYAPI extern int counter;
	MYAPI void WINAPI ShowMsgCmd(void);
	MYAPI void WINAPI ShowMsgGui(void);

#ifdef __cplusplus
}
#endif

#endif
